package com.demo.mybatisgen.model;

import java.io.Serializable;

public class Student implements Serializable {
    private Long studentId;

    private String studentName;

    private Long classId;

    private Integer age;

    private String idCardNo;

    private String phoneNo;

    private Long positonId;

    private Long activityId;

    private String password;

    private String avatar;

    private String chamberNum;

    private static final long serialVersionUID = 1L;

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public Long getPositonId() {
        return positonId;
    }

    public void setPositonId(Long positonId) {
        this.positonId = positonId;
    }

    public Long getActivityId() {
        return activityId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getChamberNum() {
        return chamberNum;
    }

    public void setChamberNum(String chamberNum) {
        this.chamberNum = chamberNum;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", studentId=").append(studentId);
        sb.append(", studentName=").append(studentName);
        sb.append(", classId=").append(classId);
        sb.append(", age=").append(age);
        sb.append(", idCardNo=").append(idCardNo);
        sb.append(", phoneNo=").append(phoneNo);
        sb.append(", positonId=").append(positonId);
        sb.append(", activityId=").append(activityId);
        sb.append(", password=").append(password);
        sb.append(", avatar=").append(avatar);
        sb.append(", chamberNum=").append(chamberNum);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}